<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post">
    {% for i in Stock %}
    <p>
        <label>{{ i.label }}</label>
        <label>{{ i }}</label>
        <label><{{ i.errors }}/label>
    </p>
{% endfor %}
<input type="submit" value="新品入库">
<p >{{ msg }}</p>
</form>
</body>
</html>